import Vue from 'vue'
import App from './App.vue'
import router from './router'
import BaiduMap from 'vue-baidu-map'
import { Button, Dialog, Tabbar, Icon, Loading, TabbarItem, NavBar, Form, Field, Toast, Cell, List, Grid, GridItem } from 'vant'
import { Image as VanImage } from 'vant';
import { Search,Uploader, DropdownMenu,DropdownItem,Picker, Popup, Checkbox, CheckboxGroup ,IndexBar, IndexAnchor,Swipe, SwipeItem,Col, Row ,Empty  } from 'vant';
import { Sticky } from 'vant';

Vue.use(BaiduMap,{
  ak: 'DeR8YzIF3q8fT6sVgC9Qwxg9zF6GSplK'
})
Vue.use(Empty);
Vue.use(List);
Vue.use(DropdownItem);
Vue.use(DropdownMenu);
Vue.use(Loading);
Vue.use(Sticky);
Vue.use(IndexBar);
Vue.use(IndexAnchor);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Col);
Vue.use(Row);
Vue.use(Uploader);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Icon);
Vue.use(Popup);
Vue.use(Picker);
Vue.use(Search);
Vue.use(VanImage);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Dialog);
Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)
Vue.use(Toast)
Vue.use(Cell)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
